<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<div class="col-lg-6">
    <section class="panel">
        <div class="panel-body">
            <table id="contentTable" class="table table-bordered mg-t datatable">
                <thead>
                <tr>
                    <th>类型</th>
                    <th>收款</th>
                    <th>退款</th>
                    <th>合计</th>
                </tr>
                </thead>
                <tbody>
                <c:forEach items="${acctMoney}" var="acctMoney">
                    <tr>
                        <td>${fns:getDictLabel(acctMoney.moneyType, 'PAY_WAY_DICT', '')}</td>
                        <td>${acctMoney.incomeAmount}</td>
                        <td>${acctMoney.refundAmount}</td>
                        <td>${acctMoney.incomeAmount-acctMoney.refundAmount}</td>
                    </tr>
                </c:forEach>
                </tbody>
            </table>
        </div>
    </section>
</div>
<div class="col-lg-6">
    <section class="panel">
        <div class="panel-body">
            <table class="table table-bordered mg-t datatable">
                <thead>
                <tr>
                    <th>项目</th>
                    <th>收入</th>
                </tr>
                </thead>
                <tbody>
                <c:forEach items="${acctDetail}" var="detail">
                    <tr>
                        <td>${fns:getDictLabel(detail.subjCode, 'BILL_ITEM_CLASS_DICT', '')}</td>
                        <td>${detail.costs}</td>
                    </tr>
                </c:forEach>
                </tbody>
            </table>
        </div>
    </section>
</div>